# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
#   cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
#   Mayor.create(name: 'Emanuel', city: cities.first)

# Creating the Default Admin
Employee.create(:email=>"admin@web2solutions.com",
                :password=>"123456",
                :password_confirmation=>"123456",
                :first_name=>"admin",
                :middle_name=>"admin",
                :last_name=>"admin",
                :is_active=>1,
                :is_admin=>1,
                :is_manager=>0,
                :sign_in_count=>0)


# Creating the Default Manager
Employee.create(:email=>"manager@web2solutions.com",
                :password=>"123456",
                :password_confirmation=>"123456",
                :first_name=>"manager",
                :middle_name=>"manager",
                :last_name=>"manager",
                :is_active=>1,
                :is_admin=>0,
                :is_manager=>1,
                :sign_in_count=>0)
